import './index.less';

import { ApolloProvider } from '@apollo/client';
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';

import { apolloClient } from '@/apis/client';
import ErrorBoundary from '@/components/ErrorBoundary';

import App from './App';


ReactDOM.createRoot(document.getElementById('root')!).render(
  
    <ErrorBoundary>
      <ApolloProvider client={apolloClient}>
        <BrowserRouter>
          <App/>
        </BrowserRouter>
      </ApolloProvider>
    </ErrorBoundary>

);
